
package com.platform.modules.mch.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.platform.modules.mch.dto.LLGoodsDto;
import lombok.Data;

import java.io.Serializable;

/**
 * 实体
 *
 * @author 
 * @date 2023-07-31 11:38:09
 */
@Data
@TableName("MCH_GOODS_EXTEND")
public class MchGoodsExtendEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    public MchGoodsExtendEntity(){
    }

    public MchGoodsExtendEntity(LLGoodsDto llGoodsDto){
        this.id = llGoodsDto.getGoods().getId();
        this.htmlContent = llGoodsDto.getInfo().getHtmlContent();
    }

    /**
     * 商品ID
     */
    @TableId
    private String id;
    /**
     * 
     */
    private String htmlContent;
}
